package fr.polichouz.geotracer.sender;

import fr.polichouz.geotracer.shared.SimpleLocation;

/**
 * Send datas.
 * 
 * @author Yoyo
 */
public interface Sender {
    
    /**
     * Send an account creation request.
     * 
     * @param username
     * @param password
     */
    void sendAccountCreation(String username, String password);

    /**
     * Send an updated location request.
     * 
     * @param location
     * @param username
     * @param password
     */
    void sendUpdateLocation(SimpleLocation location, String username, String password);
    
    /**
     * Send a get location request.
     * 
     * @param username
     * @param password
     */
    void sendGetLocation(String username, String password);
}
